package com.sample.util;

import java.util.UUID;

import com.netflix.astyanax.util.TimeUUIDUtils;

public class TimeBasedUUIDUtil {

	public static UUID getNewUUid() {
		
		return TimeUUIDUtils.getUniqueTimeUUIDinMicros();
	}
	
public static UUID getNewUUid(long microSeconds) {
		
		return TimeUUIDUtils.getMicrosTimeUUID(microSeconds);
	}
}
